package DARCOShared.utils;

public class Trade implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	public String oldOwner;
	public String newOwner;
	public String date;
	public float latitude;
	public float longitude;
	boolean isTradeGeotagged;
	
	public Trade(String oldOwner, String newOwner, String date, float latitude, float longitude){
		this.oldOwner = oldOwner;
		this.newOwner = newOwner;
		this.date = date;
		this.latitude = latitude;
		this.longitude = longitude;
		isTradeGeotagged = (longitude != -1 && latitude != -1);
	}
}
